package com.dgut.admodule.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.dgut.admodule.entity.Company;

public interface ICompanyService {
	public void saveOrUpdate(Company company);
	public void delete(Company company);
	public void delete(List<Long> ids);
	public Company findOne(Long id);
	public Company findUserName(String userName);
	public List<Company> findAll();
	public Page<Company> findAll(Specification<Company> spec,Pageable pageable);
}
